a11y: Check before disconnecting Text signals
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 25 Nov 2020 18:15:04 +0000 (18:15 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 25 Nov 2020 18:15:04 +0000 (18:15 +0000)
commit16b5a880978c66a254c8bd8a71c3e64b596abce2
treecac743ae7271606cbddab8b7c6659f345f647b32
parentfdf2e046c3e83faf9d3b0f347b32e9dcc0415995
a11y: Check before disconnecting Text signals

Use the same initial check for the accessible object type that we use
when connecting the signal, in case we try to disconnect signals on
different widgets. Additionally, check before accessing data that might
have already been removed.

Fixes: #3403
gtk/a11y/gtkatspitext.c